<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('裝置SN')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deviceid"  readonly data-rule="" class="form-control" name="row[deviceid]" type="text" value="{$row.deviceid}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" readonly data-rule="" class="form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Selfname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-selfname" data-rule="required" class="form-control" name="row[selfname]" type="text" value="{$row.selfname}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Smallcategory_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-smallcategory_id" data-rule="required" data-source="jdy/smallcategory/index1" class="form-control selectpage" name="row[smallcategory_id]" type="text" value="{$row.smallcategory_id}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
